package itsm.isperp.module.service.configuration;

import java.util.List;
import java.util.Map;

import itsm.isperp.framework.service.BaseService;
import itsm.isperp.module.entity.configuration.ConfCiPropertyDatalog;
import itsm.isperp.module.repository.configuration.ConfCiPropertyDatalogMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 属性数据日志服务
 * 
 * @author lizx
 * @date 2014-09-25 12:22
 */
@Service
public class ConfCiPropertyDatalogService extends
		BaseService<ConfCiPropertyDatalog> {

	@Autowired
	protected ConfCiPropertyDatalogMapper confCiPropertyDatalogMapper;

	@Override
	public ConfCiPropertyDatalogMapper getRepository() {
		return this.confCiPropertyDatalogMapper;
	}

	public List<Map<String, Object>> findByBusinessId(String businessId) {

		return confCiPropertyDatalogMapper.findByBusinessId(businessId);
	}

}
